package dream.pojo;

import lombok.Data;

@Data
public class Article {
    private int aid;
    private String title;
    private String desc;
    private String context;
    private String createtime;
    private String updatetime;
    private int readcount;
    private int uid;
    private int state;

    public void setAid(int aid) {
        this.aid = aid;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public void setReadcount(int readcount) {
        this.readcount = readcount;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getAid() {
        return aid;
    }

    public String getTitle() {
        return title;
    }

    public String getDesc() {
        return desc;
    }

    public String getContext() {
        return context;
    }

    public String getCreatetime() {
        return createtime;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public int getReadcount() {
        return readcount;
    }

    public int getUid() {
        return uid;
    }

    public int getState() {
        return state;
    }


}
